<img
  [lazyLoad]="lazyLoadImg"
  [defaultImage]="defaultImg"
  [errorImage]="defaultImg"
  [scrollTarget]="scrollContainer"
  *ngIf="!background"
>
<div class="img-box"
     *ngIf="background"
     [lazyLoad]="lazyLoadImg"
     [defaultImage]="defaultImg"
     [errorImage]="defaultImg"
     [scrollTarget]="scrollContainer"
>

</div>
